﻿using System;
using System.Collections.Generic;
using System.Text;

namespace News.CYT369.Com.Domains
{
    /// <summary>
    /// 实体基类
    /// </summary>
    public interface IBaseObject<TKey>
    {
        TKey Id { get; set; }
    }

    /// <summary>
    /// 实体基类
    /// </summary>
    public class BaseObject<TKey> : IBaseObject<TKey>
    {
        public virtual TKey Id { get; set; }
    }
}
